namespace 个人博客.SqlViews
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Blogs_talk
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Blogs_talk()
        {
            Blogs_reply = new HashSet<Blogs_reply>();
        }

        [Key]
        public int tal_id { get; set; }

        public int? tal_userNumber { get; set; }

        [Required]
        [StringLength(2048)]
        public string tal_content { get; set; }

        public int tal_praise { get; set; }

        [Required]
        [StringLength(32)]
        public string tal_time { get; set; }

        [Required]
        [StringLength(16)]
        public string tal_top { get; set; }

        public virtual Blogs_Account Blogs_Account { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blogs_reply> Blogs_reply { get; set; }
    }
}
